package karileet.meeting.profile.service;

import karileet.meeting.profile.ProfileConf;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class ScheduleService extends Service {
	 
	   @Override
	   public void onCreate() {
	   }
	 
	   @Override
	   public IBinder onBind(Intent intent) {
	   return null;
	   }
	 
	   @Override
	   public void onDestroy() {
	   super.onDestroy();
	   }
	 
	   @Override
	   public int onStartCommand(Intent intent, int flags, int startId) {
		   super.onStartCommand(intent, flags, startId);
		   if (intent != null) {
				initiate();
		   } else {
			   Log.d(ProfileConf.APP, "Skiped start command, since intent was null");
		   }
		   return START_STICKY;
	   }
	   
	   public void initiate () {
		   //overload this!
	   }

	}